package com.hellpro.lolbox.video.view;

import android.content.Intent;
import android.webkit.WebView;

import com.hellpro.lolbox.R;
import com.hellpro.lolbox.base.LolBaseActivity;
import com.hellpro.lolbox.video.presenter.VideoPresenter;

import butterknife.BindView;

public class VideoWebActivity extends LolBaseActivity implements IVideoWebActivity {


    @BindView(R.id.video_web_view)
    WebView videoWebView;

    @Override
    public int getLayoutId() {
        return R.layout.activity_video_web;
    }

    @Override
    public void initView() {
        VideoPresenter presenter = new VideoPresenter(this);
        presenter.setVideoWebView();
    }

    @Override
    public WebView getWebView() {
        return videoWebView;
    }

    @Override
    public String getUrl() {
        Intent intent = getIntent();
        return intent.getStringExtra("url");
    }
}
